package rainclass.interfacetest.test2;

public class Test {
    public static void main(String[] args) {
        UseComputer useComputer = new UseComputer();
        Computer divide = new Divider();
        Computer plus = new Pluser();
        Computer multiply = new Multiplyer();
        Computer subtract = new Subtracter();

        useComputer.useCom(divide,50,2);
        useComputer.useCom(plus,12,3);
        useComputer.useCom(multiply,9,3);
        useComputer.useCom(subtract,1321,3);
    }
}
